﻿namespace System
{
    /// <summary>
    /// 消息监听器
    /// <para>
    /// (ctl,msg,tran)=>{}
    /// </para>
    /// </summary>
    /// <typeparam name="TMessage">消息类型</typeparam>
    /// <param name="sender">上下文</param>
    /// <param name="message">消息参数</param>
    /// <param name="transmitter">消息控制器</param>
    public delegate void MessageListener<TMessage>(object sender, TMessage message,
                                                   IMessageTransmitter<TMessage> transmitter);
}